package io.lkt.modules.sys.service;

import io.lkt.modules.sys.entity.ButtonEventInfo;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;


public interface ButtonEventService  {

    List<ButtonEventInfo> queryList(int page, int size, String pEventCode, String pGzhCode,String startDate,String endDate,Integer pUserId,Integer pFollowStatus) throws IOException, ParseException;

    List<ButtonEventInfo> queryList2(int page, int size, String pEventCode, String pGzhCode,String startDate,String endDate,Integer pUserId) throws IOException, ParseException;

    List<ButtonEventInfo> queryAggregation(String pEventCode, String pGzhCode, String startDate, String endDate,Integer pUserId) throws IOException, ParseException;


    //更新单个文档的处理状态
    int updateByIdSingle(ButtonEventInfo buttonEventInfo) throws IOException;

    //批量文档的处理状态
    void batchUpdateById(ButtonEventInfo buttonEventInfo) throws IOException, ParseException;

    //获取单个文档
    ButtonEventInfo getInfoById(String id) throws IOException, ParseException;

}
